// 用户状态
export default {
  namespaced: true,
  state: () => ({
    // 个人用户信息
    profile: {
      id: '',
      nickname: '',
      avatar: '',
      token: '',
      mobile: ''
    }
  }),
  mutations: {
    setUser (state, payload) {
      state.profile.id = '10086'
    }
  },
  // 异步
  actions: {

  },
  // 等同于state的计算属性
  getters: {

  }

}
